package cn.hhz._05weibo.mapper;

import cn.hhz._05weibo.pojo.dto.WeiboDTO;
import cn.hhz._05weibo.pojo.entity.Weibo;
import cn.hhz._05weibo.pojo.vo.WeiboDetailVO;
import cn.hhz._05weibo.pojo.vo.WeiboIndexVO;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;


public interface WeiboMapper {


    void insert(Weibo weibo);

    List<WeiboIndexVO> selectIndex();

    WeiboDetailVO selectById(int id);
}
